package org.zhenggn.designpattern.chain;

/**
 * Created by zhenggn on 2017/5/3.
 */
public class SaleLogicCheck  extends SaleHandler{
    public boolean sale(String user, String customer, SaleModel saleModel,User u) {
        u.setTelphone(124);
        u.setAge(333);

        // 为了演示，直接通过
        return this.successor.sale(user,customer,saleModel,u);
    }
}
